/*
 * Main.fx
 *
 * Created on Oct 1, 2010, 3:47:18 PM
 */
package desktopapplication;

/**
 * @author Familia Rey
 */
public class Main {
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:main
    def __layoutInfo_Personalizar_Pedido: javafx.scene.layout.LayoutInfo = javafx.scene.layout.LayoutInfo {
        width: 300.0
        height: 25.0
    }
    public-read def Personalizar_Pedido: javafx.scene.control.Button = javafx.scene.control.Button {
        disable: false
        layoutX: -6.0
        layoutY: 705.0
        layoutInfo: __layoutInfo_Personalizar_Pedido
        text: "Personalizar Pedido"
    }
    
    def __layoutInfo_Enviar_Pedido: javafx.scene.layout.LayoutInfo = javafx.scene.layout.LayoutInfo {
        width: 300.0
        height: 25.0
    }
    public-read def Enviar_Pedido: javafx.scene.control.Button = javafx.scene.control.Button {
        disable: false
        layoutX: -6.0
        layoutY: 736.0
        layoutInfo: __layoutInfo_Enviar_Pedido
        text: "Enviar Pedido"
    }
    
    def __layoutInfo_separator: javafx.scene.layout.LayoutInfo = javafx.scene.layout.LayoutInfo {
        width: 300.0
        height: 10.0
    }
    public-read def separator: javafx.scene.control.Separator = javafx.scene.control.Separator {
        layoutX: -6.0
        layoutY: 695.0
        layoutInfo: __layoutInfo_separator
    }
    
    public-read def font2: javafx.scene.text.Font = javafx.scene.text.Font {
        size: 24.0
        embolden: false
    }
    
    def __layoutInfo_label_bandeja: javafx.scene.layout.LayoutInfo = javafx.scene.layout.LayoutInfo {
        width: 298.0
        height: 47.0
    }
    public-read def label_bandeja: javafx.scene.control.Label = javafx.scene.control.Label {
        disable: false
        opacity: 1.0
        layoutX: -6.0
        layoutY: 0.0
        layoutInfo: __layoutInfo_label_bandeja
        text: "Bandeja"
        font: font2
    }
    
    def __layoutInfo_panelBandeja: javafx.scene.layout.LayoutInfo = javafx.scene.layout.LayoutInfo {
        width: 300.0
        height: 768.0
    }
    public-read def panelBandeja: javafx.scene.layout.Panel = javafx.scene.layout.Panel {
        layoutX: 724.0
        layoutY: 0.0
        layoutInfo: __layoutInfo_panelBandeja
        content: [ Personalizar_Pedido, Enviar_Pedido, separator, label_bandeja, ]
    }
    
    def __layoutInfo_label_menu: javafx.scene.layout.LayoutInfo = javafx.scene.layout.LayoutInfo {
        width: 506.0
        height: 35.0
    }
    public-read def label_menu: javafx.scene.control.Label = javafx.scene.control.Label {
        layoutX: 6.0
        layoutY: 6.0
        layoutInfo: __layoutInfo_label_menu
        text: "Men\u00FA"
        font: font2
    }
    
    def __layoutInfo_panelMenu: javafx.scene.layout.LayoutInfo = javafx.scene.layout.LayoutInfo {
        width: 524.0
        height: 768.0
    }
    public-read def panelMenu: javafx.scene.layout.Panel = javafx.scene.layout.Panel {
        opacity: 1.0
        layoutX: 200.0
        layoutY: 0.0
        layoutInfo: __layoutInfo_panelMenu
        content: [ label_menu, ]
    }
    
    def __layoutInfo_label_opciones: javafx.scene.layout.LayoutInfo = javafx.scene.layout.LayoutInfo {
        width: 194.0
        height: 35.0
    }
    public-read def label_opciones: javafx.scene.control.Label = javafx.scene.control.Label {
        layoutX: 6.0
        layoutY: 6.0
        layoutInfo: __layoutInfo_label_opciones
        text: "Opciones"
        font: font2
    }
    
    def __layoutInfo_panelOpciones: javafx.scene.layout.LayoutInfo = javafx.scene.layout.LayoutInfo {
        width: 200.0
        height: 768.0
    }
    public-read def panelOpciones: javafx.scene.layout.Panel = javafx.scene.layout.Panel {
        layoutX: 0.0
        layoutY: 0.0
        layoutInfo: __layoutInfo_panelOpciones
        content: [ label_opciones, ]
        baseline: -1.0
    }
    
    public-read def scene: javafx.scene.Scene = javafx.scene.Scene {
        width: 1024.0
        height: 768.0
        content: getDesignRootNodes ()
    }
    
    public-read def image: javafx.scene.image.Image = javafx.scene.image.Image {
        url: "http://www.popularesenred.org/bsg/wp-content/uploads/2010/08/chat.jpg"
        width: 100.0
        height: 100.0
        placeholder: null
    }
    
    public-read def image2: javafx.scene.image.Image = javafx.scene.image.Image {
        url: "http://4.bp.blogspot.com/_L2SmN0vHY4Y/TEBslGQ5RMI/AAAAAAAAA7A/SvuMSLDRj-4/s1600/e-mail.jpg"
        width: 100.0
        height: 100.0
    }
    
    public-read def currentState: org.netbeans.javafx.design.DesignState = org.netbeans.javafx.design.DesignState {
    }
    
    public function getDesignRootNodes (): javafx.scene.Node[] {
        [ panelOpciones, panelMenu, panelBandeja, ]
    }
    
    public function getDesignScene (): javafx.scene.Scene {
        scene
    }
    // </editor-fold>//GEN-END:main

}

function run (): Void {
    var design = Main {};

    javafx.stage.Stage {
        title: "Main"
        scene: design.getDesignScene ()
    }
}
